<!DOCTYPE html>
<html>

<head>

</head>

<body>
    Hello world
</body>
<script type="text/javascript">
    <!-- 如何调用mPaaS的函数 -->
    function getUserInfo() {
        if (window.AlipayJSBridge) {
            window.AlipayJSBridge.call('toGetUserInfo', null, cbUser);
        } else {
            alert("NO APP ENV");
        }
    }
    function cbUser(userInfo) {
        alert(userInfo.userId + "=" + userInfo.employeeName)
    }
    getUserInfo();
</script>

</html>